package com.mohan.common.exception;

public enum BizCodeEnume {
  VALID_EXCEPTION(10001,"校验规则出错"),
  UNKNOW_EXCEPTION(10000,"未知异常");

  private int code;
  private String message;

  BizCodeEnume(int code,String message){
    this.code = code;
    this.message = message;
  }

  public int getCode() {
    return code;
  }

  public String getMessage() {
    return message;
  }
}
